package org.dtrevien.metamodel.graphviz;

import org.dtrevien.metamodel.graphviz.visitor.Visitor;

public class AList {
	
	protected String name;
	protected String value;
	
	public AList(String name, String value) {
		super();
		this.name = name;
		this.value = value;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return this.value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public void accept(Visitor v) {
		v.visitAList(this);
	}

	public void appendToName(String ... s) {
		for (String string : s) {
			this.name+=string;
		}
	}

}
